package com.hwatsang.service;

public interface SmsAuthCodeService {
		
	String generateAndSendAuthCodeForUser(String userId, String mobileNumber);
	
	/**
	 * Get the previously generated SMS authentication code for a specific user
	 * @param userId
	 * @return The SMS authentication code, or null if can't find a match or the code has expired
	 */
	String getAuthCodeByUser(String userId);
	
	void deleteAuthCodeForUser(long userId);
	
}
